package com.yuan.algorithms.base01;

//import java.io.BufferedInputStream;
import java.math.BigInteger;
import java.util.Scanner;

/**
 * @author YouYuan E-mail:1265161633@qq.com
 * @version 创建时间：2015年7月31日 下午2:30:03
 * 说明:
 */
public class 大数_A乘B {

//	static Scanner cin = new Scanner(new BufferedInputStream(System.in));
	static Scanner sc = new Scanner(System.in);
	
	public static void main(String[] args) {
//		while(cin.hasNext()) {
//			BigInteger a, b;
//			a = cin.nextBigInteger();
//			b = cin.nextBigInteger();
//			System.out.println(a.multiply(b));
//		}
		
		while(sc.hasNext()) {
			BigInteger scA = sc.nextBigInteger();
			BigInteger scB = sc.nextBigInteger();
			System.out.println(scA.multiply(scB));
		}
	}

}
